package follow.pratice.in2020.october.twentynine;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class MyCollections {

    private final int a=1;
    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        list.add("java");
        list.add("python");
        list.add("c++");
        System.out.println(list);

        Collections.reverse(list);


        System.out.println(list);

        //HashMap



    }

}
